//
// Created by 11510 on 2024/7/4.
//

#include "Consumer.h"
#include "TaskQueue.h"
using std::cout;
using std::endl;

Consumer::Consumer() {}

Consumer::~Consumer() {
}

void Consumer::consume(TaskQueue &taskQueue) {
    int cnt = 15;
    while(cnt--){
        printf("consume:%d\n", taskQueue.pop());
    }
}
